package edu.suda.xsap.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 课程表
 */
@Data
@NoArgsConstructor()
@AllArgsConstructor()
@Builder
public class Course {
    private Integer id;
    private String name;
    private Integer duration;//持续时间
    private Integer contains;//容纳人数
    private String color;
    private String introduce;
    private Integer timesCost;//消耗次数
    private String limitSex;
    private Integer limitAge;
    private Integer limitCounts;//卡号限制
    private LocalDateTime createTime;
    private LocalDateTime lastModifyTime;
    private Integer version;
}
